package com.airlines.crewassignment.entity.ruleverification;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;



/**
 * @author xxxx
 * @date 2018/05/07 16:15:34
 * @company xxxx Airlines
 * @description 规则验证
 */

 
public class RuleVerification {

    /**
     * 
     */
    private Integer id;
    
    /**
     * 模块名称
     */
    private String dutyCode;

    /**
     * 航班日期
     */
    private Date flightDate;

    /**
     * 连线编号
     */
    private Integer crewLinkLineNo;

    /**
     * 工号
     */
    private String workcode;

    /**
     * 规则编码
     */
    private String ruleCode;
    
    /**
     * 规则得分
     */
    private int ruleScore; 
    

    /**
     * 结论 Y通过 N 不通过
     */
    private String result;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否删除 0 否 1是
     */
    private Integer isDelete;

    /**
     * 
     */
    private String createTime;


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }

    
    
    public Integer getId() {
		return id;
	}



	public void setId(Integer id) {
		this.id = id;
	}



	public String getDutyCode() {
		return dutyCode;
	}



	public void setDutyCode(String dutyCode) {
		this.dutyCode = dutyCode;
	}



	public Date getFlightDate() {
		return flightDate;
	}



	public void setFlightDate(Date flightDate) {
		this.flightDate = flightDate;
	}



	public Integer getCrewLinkLineNo() {
		return crewLinkLineNo;
	}



	public void setCrewLinkLineNo(Integer crewLinkLineNo) {
		this.crewLinkLineNo = crewLinkLineNo;
	}



	public String getWorkcode() {
		return workcode;
	}



	public void setWorkcode(String workcode) {
		this.workcode = workcode;
	}



	public String getRuleCode() {
		return ruleCode;
	}



	public void setRuleCode(String ruleCode) {
		this.ruleCode = ruleCode;
	}



	public int getRuleScore() {
		return ruleScore;
	}



	public void setRuleScore(int ruleScore) {
		this.ruleScore = ruleScore;
	}



	public String getResult() {
		return result;
	}



	public void setResult(String result) {
		this.result = result;
	}



	public String getRemark() {
		return remark;
	}



	public void setRemark(String remark) {
		this.remark = remark;
	}



	public Integer getIsDelete() {
		return isDelete;
	}



	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}



	public String getCreateTime() {
		return createTime;
	}



	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public RuleVerification() {
		
	}

	public RuleVerification(Date flightDate,Integer crewLinkLineNo, String workcode, String ruleCode, String result, String remark, Integer isDelete) {
        this.crewLinkLineNo = crewLinkLineNo;
        this.flightDate = flightDate;
        this.workcode = workcode;
        this.ruleCode = ruleCode;
        this.result = result;
        this.remark = remark;
        this.isDelete = isDelete;
    }
}
